/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cageballcommon.messages;

/**
 *
 * @author kanonas
 */
public class InitPlayer {

    private String name;
    private int id;
    private float xStart;
    private float yStart;

    public InitPlayer() {
    }

    public InitPlayer(String name, int id, float xStart, float yStart) {
        this.name = name;
        this.id = id;
        this.xStart = xStart;
        this.yStart = yStart;
    }

    public InitPlayer(InitPlayer initPlayer){
        this(initPlayer.getName(), initPlayer.getId(), initPlayer.getXStart(), initPlayer.getYStart());
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    
    public float getXStart() {
        return xStart;
    }

    public void setXStart(float xStart) {
        this.xStart = xStart;
    }

    public float getYStart() {
        return yStart;
    }

    public void setYStart(float yStart) {
        this.yStart = yStart;
    }
}
